#include<bits/stdc++.h>
using namespace std;
int main() {
  constexpr int SIZE = 50;
  int a[SIZE];
  for(int i=0;i<SIZE;++i) {
    a[i]=i;
  }
  do{
  }while(next_permutation(begin(a), end(a)));
  cout << double(clock())/CLOCKS_PER_SEC << "s" << endl;
  // emm...it took a really really long time to return...
  return 0;
}
